<?php
/**
 * Created by PhpStorm.
 * User: 12133
 * Date: 2024/4/9
 * Time: 16:39
 */

namespace app\model;


class User extends Base
{
    public function getMobileAttr($value,$data){
        if (empty($value))
            return $data['username'];
        return $value;
    }
}